﻿//--------------------------------------------------------------------------
// <copyright file="Procs.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
// <summary>Procs</summary>
//--------------------------------------------------------------------------
namespace MS.Msn.MediaSolutions.Common
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    #region generic delegate

    /// <summary>
    /// void progress with one arg
    /// </summary>
    /// <typeparam name="TArg"></typeparam>
    /// <param name="arg"></param>
    public delegate void Proc<TArg>(TArg arg);

    /// <summary>
    /// return a value progress with one arg
    /// </summary>
    /// <typeparam name="TArg"></typeparam>
    /// <typeparam name="TRet"></typeparam>
    /// <param name="arg"></param>
    /// <returns></returns>
    public delegate TRet Proc<TArg, TRet>(TArg arg);

    #endregion
}